package com.xiaodu.acer.phoneplay.ui.activity;

import android.view.View;
import android.widget.FrameLayout;

import com.xiaodu.acer.phoneplay.R;
import com.xiaodu.acer.phoneplay.di.component.AppComponent;
import com.xiaodu.acer.phoneplay.ui.base.BaseActivity;
import com.xiaodu.acer.phoneplay.ui.fragment.SettingFragment;

import butterknife.BindView;

public class SettingActivity extends BaseActivity {

    @BindView(R.id.content)
    FrameLayout mContent;


    @Override
    public int setLayout() {
        return R.layout.activity_setting;
    }

    @Override
    public void setupAcitivtyComponent(AppComponent appComponent) {

    }

    @Override
    public void initView() {
        mToolBar.setTitle(R.string.sys_setting);

        getFragmentManager().beginTransaction().replace(R.id.content, new SettingFragment()).commit();
    }

    @Override
    public void initData() {

    }

    @Override
    public void initListener() {
        mToolBar.setNavigationOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                finish();
            }
        });
    }


}
